home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9205 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  980 b 

  1. Path: news.IT.net!news
  2. From: gema001@pn.itnet.it (Antonio Romeo)
  3. Newsgroups: comp.lang.c++
  4. Subject: Need Unique ID generation
  5. Date: 29 Feb 1996 10:38:18 GMT
  6. Organization: CyberPress
  7. Message-ID: <4h3vmq$4a6@alpha.it.net>
  8. NNTP-Posting-Host: gema001.pn.itnet.it
  9. Mime-Version: 1.0
  10. Content-Type: Text/Plain; charset=US-ASCII
  11. X-Newsreader: WinVN 0.99.7
  12.  
  13. I need a Unique Identifier generation routine on multiple machines.
  14. The identifier must be a 32bit long (unsigned long int) number.
  15. No two identifier generated on different machines can match. 
  16. This is different from an hash generation as i don't have
  17. any 'imput string for it.
  18. A clock based only algorithm is not usefull, as two machines
  19. can generate the same UI at the same time.
  20. So I need a routine based on clock and some machine identifier too.
  21.  
  22. Rule:
  23. 1. UIs generated on two machines or in different time must be 
  24. differento from every UI already used;
  25. Thank for your help
  26.  
  27. Antonio Romeo - Rome - Italy
  28. gema001@pn.itnet.it
  29.  
  30.  
  31.  
  32.